package com.chengyu.core.mapper;

import com.chengyu.core.model.RecommendGoods;
import com.chengyu.core.model.RecommendGoodsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RecommendGoodsMapper {
    long countByExample(RecommendGoodsExample example);

    int deleteByExample(RecommendGoodsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(RecommendGoods record);

    int insertSelective(RecommendGoods record);

    List<RecommendGoods> selectByExample(RecommendGoodsExample example);

    RecommendGoods selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") RecommendGoods record, @Param("example") RecommendGoodsExample example);

    int updateByExample(@Param("record") RecommendGoods record, @Param("example") RecommendGoodsExample example);

    int updateByPrimaryKeySelective(RecommendGoods record);

    int updateByPrimaryKey(RecommendGoods record);
}